from django.urls import path, include
# 引入刚才实现的视图文件
import blog.views

# 如果函数存在，则转发至对应路由位置
urlpatterns = [
    path('hello_world', blog.views.hello_world),
    path('index', blog.views.get_index_page),
    # path('detail', blog.views.get_detail_page)
    path('detail/<int:article_id>', blog.views.get_detail_page)
]
